import App from './App'

// #ifndef VUE3
import Vue from 'vue'

import Suspended from '@/components/suspended.vue'		//引入组件


import share from './comment/share.js'
Vue.mixin(share)


//配置公共方法
import common from './comment/common.js'
Vue.prototype.$noMultipleClicks = common.noMultipleClicks;


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,share
})


//挂载Vue上
//Vue.prototype.$baseURL = 'http://139.9.235.36:30020/'
//Vue.prototype.$baseURL = 'https://equipment.hsstwater.com/'

Vue.prototype.$baseURL = 'https://hardware.hsstwater.com/'


Vue.component('suspended',Suspended)						//进行全局挂载


app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif